package xyz.zq.cloud.bs.api.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import xyz.zq.cloud.bs.api.entity.Account;
import xyz.zq.cloud.bs.api.entity.Role;

import java.util.List;

/**
 * @author hzq
 * @date 2020/5/26 22:30
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AccountVO extends Account {

    /**
     * 头像地址
     */
    private String avatarUrl;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 角色列表
     */
    private List<Role> roles;

}
